.text

.global armcall

armcall:
	mov r4, #0
	str r4, [r13]
	sub r13,r13, #4
	sub r13,r13, #4
	ldr r4, [r1]
	str r4, [r13]
	sub r13,r13, #4
	str r0, [r13]
	mov pc, r3
	